package com.bldby.baselibrary.core.addresspick;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

public class Regions implements IPickerViewData {

    /**
     * cityList : [{"areaList":[{"id":1,"name":"string","pid":1}],"id":1,"name":"string","pid":1}]
     * id : 1
     * name : string
     * pid : 1
     */

    private int id;
    private String name;
    private int pid;
    private List<CityListBean> cityList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public List<CityListBean> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityListBean> cityList) {
        this.cityList = cityList;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
